package com.example.SpringBean.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Coffee {
    private String name;
    private Long price;
    public String toString(Coffee c){
       String ctoStr="name:" + c.name + "price=" + c.price.toString();
       return ctoStr;
    }
}
